package com.booksmanager.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.booksmanager.pojo.User;

import java.util.Map;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author Yan
 * @since 2020-05-24
 */
public interface UserMapper extends BaseMapper<User> {
    User login(User user);

    Page<Map<String,Object>> queryPageList(Page page, User user);
}
